<template>
  <main>
    <!-- 标题 -->

    <Head />
    <!-- 导航区 -->
    <div style="text-align: center;">

    </div>
    <!-- 内容呈现 -->
    <div class="custom-content">
      <Count />
      <News/>
    </div>
  </main>
</template>

<script lang="ts">
export default {
  name: 'App'
}
</script>

<script setup lang="ts">
import Head from './components/Head.vue';
import Count from './components/Count.vue';
import News from './components/News.vue';
import { RouterView } from 'vue-router';

</script>

<style lang="css">
.custom-a {
  display: inline-block;
  width: 50px;
  height: 20px;
  border: 1px solid black;
  margin-right: 50px;
  text-align: center;
  background-color: aqua;

}

.custom-a a {
  text-decoration: none;
  display: block;
  width: 50px;
  height: 20px;
}

.custom-content {

  margin: 0 auto;
  margin-top: 20px;
  border: 1px solid black;
  height: 500px;
  width: 1000px;
}

.custom-active {
  background-color: red;
}
</style>
